<style>
<!--
body {
    font-family: Arial;
    font-size: 12px;
    margin: 0;
    text-align: center;
}
#wrap{
	width:10.3cm;overflow:hidden;
}
.d1{
	height:1.8cm;overflow:hidden;width:20cm;
}
.d2{
	width:3.2cm;height:1.8cm; text-algin:center;overflow:hidden;float:left;margin:0 0.1cm ;
}
.d3{
	height:1.0cm;overflow:hidden;width:100%;text-align:center;
}
.d4{
	width:100%;text-align:center;overflow:hidden;height:17px; padding-top:8px;
}
.i1{
	width:3cm;display:block;margin:0cm auto 0;
}
-->
</style>
<div style="" id="wrap">
<{foreach from=$resultsAll item=results name=resultsAll}>
	<div style="" class='d1'>
	<{foreach from=$results item=product name=results key=k}>
		
		<{if $product.operator_flag}>
			<div style="" class='d2'>
				<div style="height:0.2cm"></div>
				<div style=""  class='d4'><{$product.operator}></div>
				<div style=""  class='d4'><{$product.customer_id}>-<{$product.product_sku}></div>
			</div>
		<{else}>
			<div style="" class='d2'>
				<div style="height:0.2cm"></div>
				<div style="" class='d3'>
				<img src="/product/product/barcode?code=<{$product.customer_id}><{$product.product_sku}>" style=" " class='i1'/>
				</div>
				<div style="" class='d4'><{$product.customer_id}>-<{$product.product_sku}></div>
			</div>
		<{/if}>	
			
	<{/foreach}>
	</div>
	<div class="contentBottom" style="page-break-after:always; clear:both;height:0.1cm;overflow:hidden;">&nbsp;</div>
<{/foreach}>
</div>

